#include <stdio.h>
#define N 256

int main() {
	char a[N] = { 0 }, b[N] = { 0 };
	int i,j;
	scanf("%s", a);
	scanf("%s", b);
	for (i = 0; i < N && a[i] != '\0'; i++);
	for (j = 0; j < N && b[j] != '\0'; j++) a[i + j] = b[j];
	a[i + j] = '\0';
	printf("%s", a);
	return 0;
}